I've written a few articles in which I give a few suggestion on what is needed for developing a Studio plugin. You can find the articles here .
For you specific task you will have to use the Integration API which is made available with Studio. Using…